FROM alpine:latest
MAINTAINER caiyu "a7458969@gmail.com"

WORKDIR /home/ubuntu/api/bin

ADD  go-tcpFramework-rudy /bin/go-tcpFramework-rudy
ADD  TcpServConfig.json /bin/TcpServConfig.json
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

EXPOSE 9850

ENTRYPOINT ["/bin/go-tcpFramework-rudy","--conf_path=/bin/TcpServConfig.json"]